package com.zmx.base.entity;

import com.zmx.common.common.entitys.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.*;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * @author zhaomxr
 * null
 */
@Data
@Entity
@Table(name = "base_service_phone")
@DynamicInsert
@DynamicUpdate
@EqualsAndHashCode(callSuper=true)
@Inheritance(strategy = InheritanceType.JOINED)
public class BaseServicePhone extends BaseEntity {

	/**
	 * null
	 */
	@Column(name = "phone")
	private String phone;

	/**
	 * null
	 */
	@Column(name = "brand_id")
	private Long brandId;

	/**
	 * null
	 */
	@Column(name = "is_vaild")
	private Integer isVaild;
}
